package com.dly.hope.service;

import com.dly.hope.modle.ValidateCode;

public interface ValidateCodeService {

    /**
     * @Author linyu.dai
     * @Description 保存发送的验证码
     * @Date 2022/8/28 20:14
     * @Param [email]
     * @return com.dly.hope.modle.ValidateCode
     */
    ValidateCode saveValidateCode(String email);

    /**
     * @Author linyu.dai
     * @Description 验证验证码
     * @Date 2022/8/28 20:56
     * @Param
     * @return
     */
    void checkCode(String email, String code);
}
